
package com.carsite.dao;

import java.util.List;

import com.carsite.dao.Dao;
import com.carsite.model.CheckTable;

public interface CheckTableDao extends Dao {

    /**
     * Retrieves all of the checkTables
     */
    public List getCheckTables(CheckTable checkTable);

    /**
     * Gets checkTable's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param ctId the checkTable's ctId
     * @return checkTable populated checkTable object
     */
    public CheckTable getCheckTable(final Long ctId);

    /**
     * Saves a checkTable's information
     * @param checkTable the object to be saved
     */    
    public void saveCheckTable(CheckTable checkTable);

    /**
     * Removes a checkTable from the database by ctId
     * @param ctId the checkTable's ctId
     */
    public void removeCheckTable(final Long ctId);
}

